Error processing SSI file
LEADTOOLS (Leadtools assembly)

Show in webframe

ResizeBuffer(Byte[],Int32,Int32,Int32) Method








The buffer containing the original scanline to be resized.
Zero-based index into the buffer.
Current row of the original bitmap.
Bits per pixel, which is the same for the original and the resized bitmap.
Resizes a buffer to the new size specified with the Start method.
Syntax
public void ResizeBuffer( 
   byte[] buffer,
   int bufferOffset,
   int row,
   int bitsPerPixel
)
'Declaration
 
Public Overloads Sub ResizeBuffer( _
   ByVal buffer() As Byte, _
   ByVal bufferOffset As Integer, _
   ByVal row As Integer, _
   ByVal bitsPerPixel As Integer _
) 
'Usage
 
Dim instance As RasterBufferResize
Dim buffer() As Byte
Dim bufferOffset As Integer
Dim row As Integer
Dim bitsPerPixel As Integer
 
instance.ResizeBuffer(buffer, bufferOffset, row, bitsPerPixel)
public void ResizeBuffer( 
   byte[] buffer,
   int bufferOffset,
   int row,
   int bitsPerPixel
)
 function Leadtools.RasterBufferResize.ResizeBuffer(Byte[],Int32,Int32,Int32)( 
   buffer ,
   bufferOffset ,
   row ,
   bitsPerPixel 
)
public:
void ResizeBuffer( 
   array<byte>^ buffer,
   int bufferOffset,
   int row,
   int bitsPerPixel
) 

Parameters

buffer
The buffer containing the original scanline to be resized.
bufferOffset
Zero-based index into the buffer.
row
Current row of the original bitmap.
bitsPerPixel
Bits per pixel, which is the same for the original and the resized bitmap.
Remarks

buffer contains the buffer containing a line from the original image to be resized. Your code must allocate the buffer and copy the data into it before calling this method.

The same buffer holds the data before and after it is resized. Therefore, the buffer must be big enough to hold whichever is larger. (The original line is larger when reducing an image; the resulting line is larger when enlarging the image.)

Before calling this function, you must call the Start method.

When all lines have been processed, you must call the Stop method.

For more information, refer to Introduction to Image Processing With LEADTOOLS.

Example
For an example, refer to RasterBufferResize.
Requirements

Target Platforms

See Also

Reference

RasterBufferResize Class
RasterBufferResize Members
Overload List

Error processing SSI file